# -*- coding: utf-8 -*-
from odoo import fields, models


class DriverComment(models.Model):
    """旅行社对车主的评价"""
    _name = 'tour.owner.comment'
    _description = u'评价'

    owner_id = fields.Many2one('tour.owner', string=u"车主")
    agency_id = fields.Many2one('tour.travel.agency', string=u'旅行社')
    comment = fields.Char(string=u'评价内容')
    reply = fields.Char(string=u'回复')
